/*
 * @:
 * @Version: 1.0
 * @Autor: ziwei
 * @Date: 2022-03-15 15:47:15
 * @LastEditors: ziwei
 * @LastEditTime: 2022-03-15 16:17:01
 */
module.exports = {
  publicPath: "//localhost:20000", //保证子应用静态资源都是20000端口上发送的
  devServer: {
    port: 20000, //fetch 默认不允许跨域
    headers: {
      "Access-Control-Allow-Origin": "*",
    },
  },
  configureWebpack: {
    //需要获取我打包的内容 systemjs=>umd格式
    output: {
      libraryTarget: "umd",
      library: "m-vue",
    },
  },
};

//3000->20000 基座回去找20000端口中的资源 publicPath /
